<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>demo</title>
    <style>
        button,
        input {
            /* "\5B8B\4F53" 就是宋体的意思 这样浏览器兼容性比较好 */
            font-family: Microsoft YaHei, Heiti SC, tahoma, arial, Hiragino Sans GB, "\5B8B\4F53", sans-serif;
            /* 默认有灰色边框我们需要手动去掉 */
            border: 0;
            outline: none;
        }

        .search {
            width: 300px;
            height: 28px;
            background-color: pink;
            border: blue solid 3px;
            margin: 0;
            padding: 0;
        }

        .search input {
            float: left;
            width: 250px;
            height: 28px;
            padding-left: 7px;
        }

        .search button {
            float: left;
            height: 28px;
            width: 50px;
            color: whitesmoke;
            background-color: blue;
        }
    </style>
</head>

<body>
<div class="search">
    <input type="search" name="" id="search" placeholder="语言开发">
    <button>搜索</button>
</div>
</body>
</html>